<template>
  <div class="App">
    <router-view></router-view>
    <TabBar v-if="!currentRouter.meta.hideTabBar"></TabBar>
    <!-- 加载页面 -->
    <Load></Load>
  </div>
</template>
<script setup>
import { useRoute } from "vue-router"
import TabBar from "../component/tabbar/tabbar.vue"
import Load from './component/Load.vue'
//获取实时路由
const currentRouter = useRoute();
</script>

<style lang="less" scoped>
</style>